package com.anxin.act.task.vo;

//import io.swagger.annotations.Api;
//import io.swagger.annotations.ApiModelProperty;

import java.util.Map;

/**
 * 提交代办时需要的参数
 *
 * @author: liuxiangyu
 * @date: 2020/4/2 10:58
 */
//@Api(tags = "提交代办时需要的参数")
public class CompleteTaskVo {


    /**
     * 待办ID
     */
    //@ApiModelProperty(value = "待办ID",required = true,position=1)
    private String taskId;

    //@ApiModelProperty(value = "待办节点标识",required = false,position=1)
    private String taskKey;

    /**
     * 待办提交方式
     *
     * complete:正常提交
     * before  :前加签
     * after   :后加签
     * transfer:转签
     * reading :阅办
     * free    :提交的自由流
     */
    //@ApiModelProperty(value = "待办提交方式",required = true,position=1)
    private String  completeType;

    //@ApiModelProperty(value = "提交的附件ID",required = false,position=1)
    private String[] attIds;

    //@ApiModelProperty(value = "抄送的用户",required = false,position=1)
    private String[] ccUser;

    //@ApiModelProperty(value = "提交的审批意见等参数",required = false,position=1)
    private Map<String,Object> opinions;

    /**
     * 如果是的话 此节点提交后业务数据的审批状态会更改为已完成，流程继续流转
     */
    //@ApiModelProperty(value = "是否为结束节点",required = false,position=1)
    private String endNode;

    //@ApiModelProperty(value = "流程是否AA跳",required = false,position=1)
    private String skipTask;

    //@ApiModelProperty(value = "流程是否ABA跳",required = false,position=1)
    private String skipTaskAba;

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getTaskKey() {
        return taskKey;
    }

    public void setTaskKey(String taskKey) {
        this.taskKey = taskKey;
    }

    public String getCompleteType() {
        return completeType;
    }

    public void setCompleteType(String completeType) {
        this.completeType = completeType;
    }

    public String[] getAttIds() {
        return attIds;
    }

    public void setAttIds(String[] attIds) {
        this.attIds = attIds;
    }

    public String[] getCcUser() {
        return ccUser;
    }

    public void setCcUser(String[] ccUser) {
        this.ccUser = ccUser;
    }

    public Map<String, Object> getOpinions() {
        return opinions;
    }

    public void setOpinions(Map<String, Object> opinions) {
        this.opinions = opinions;
    }

    public String getEndNode() {
        return endNode;
    }

    public void setEndNode(String endNode) {
        this.endNode = endNode;
    }

    public String getSkipTask() {
        return skipTask;
    }

    public void setSkipTask(String skipTask) {
        this.skipTask = skipTask;
    }

    public String getSkipTaskAba() {
        return skipTaskAba;
    }

    public void setSkipTaskAba(String skipTaskAba) {
        this.skipTaskAba = skipTaskAba;
    }
}
